package cn.sharp.bbs.entity.DO;

import java.io.Serializable;
import java.util.Date;

public class Postversion implements Serializable {
    private Long id;

    private Long postId;

    private Integer num;

    private String cont;

    private Date time;

    private Integer state;

    private String inte;

    private Integer intenum;

    private String title;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPostId() {
        return postId;
    }

    public void setPostId(Long postId) {
        this.postId = postId;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getCont() {
        return cont;
    }

    public void setCont(String cont) {
        this.cont = cont == null ? null : cont.trim();
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getInte() {
        return inte;
    }

    public void setInte(String inte) {
        this.inte = inte == null ? null : inte.trim();
    }

    public Integer getIntenum() {
        return intenum;
    }

    public void setIntenum(Integer intenum) {
        this.intenum = intenum;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", postId=").append(postId);
        sb.append(", num=").append(num);
        sb.append(", cont=").append(cont);
        sb.append(", time=").append(time);
        sb.append(", state=").append(state);
        sb.append(", inte=").append(inte);
        sb.append(", intenum=").append(intenum);
        sb.append(", title=").append(title);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}